package com.example.aacwebdemo.es.bean;

import com.github.javafaker.Faker;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.util.Date;
import java.util.HashSet;
import java.util.Locale;
import java.util.Set;

/**
 * @author zhao.xin06679
 * @date 2021年06月08日 9:32
 */
@Document(indexName = "lucy")
public class ZhaoZhao {

    public ZhaoZhao() {
    }

    @Id
    private long id;
    //时间
    @Field(type = FieldType.Date, format = DateFormat.basic_date_time)
    private Date actionDate;


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Date getActionDate() {
        return actionDate;
    }

    public void setActionDate(Date actionDate) {
        this.actionDate = actionDate;
    }
}